// **********************************************************************
//
// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

// Ice version 3.3.1
// Generated from file `CamMotion.ice'

#ifndef ____CamMotion_h__
#define ____CamMotion_h__

#include <Ice/LocalObjectF.h>
#include <Ice/ProxyF.h>
#include <Ice/ObjectF.h>
#include <Ice/Exception.h>
#include <Ice/LocalObject.h>
#include <Ice/Proxy.h>
#include <Ice/Object.h>
#include <Ice/Outgoing.h>
#include <Ice/Incoming.h>
#include <Ice/Direct.h>
#include <Ice/UserExceptionFactory.h>
#include <Ice/FactoryTable.h>
#include <Ice/StreamF.h>
#include <Ice/UndefSysMacros.h>

#ifndef ICE_IGNORE_VERSION
#   if ICE_INT_VERSION / 100 != 303
#       error Ice version mismatch!
#   endif
#   if ICE_INT_VERSION % 100 > 50
#       error Beta header file detected
#   endif
#   if ICE_INT_VERSION % 100 < 1
#       error Ice patch level mismatch!
#   endif
#endif

namespace IceProxy
{

namespace RoboCompCamMotion
{

class CamMotion;

}

}

namespace RoboCompCamMotion
{

class CamMotion;
bool operator==(const CamMotion&, const CamMotion&);
bool operator<(const CamMotion&, const CamMotion&);

}

namespace IceInternal
{

::Ice::Object* upCast(::RoboCompCamMotion::CamMotion*);
::IceProxy::Ice::Object* upCast(::IceProxy::RoboCompCamMotion::CamMotion*);

}

namespace RoboCompCamMotion
{

typedef ::IceInternal::Handle< ::RoboCompCamMotion::CamMotion> CamMotionPtr;
typedef ::IceInternal::ProxyHandle< ::IceProxy::RoboCompCamMotion::CamMotion> CamMotionPrx;

void __read(::IceInternal::BasicStream*, CamMotionPrx&);
void __patch__CamMotionPtr(void*, ::Ice::ObjectPtr&);

}

namespace RoboCompCamMotion
{

class HardwareFailedException : public ::Ice::UserException
{
public:

    HardwareFailedException() {}
    explicit HardwareFailedException(const ::std::string&);
    virtual ~HardwareFailedException() throw();

    virtual ::std::string ice_name() const;
    virtual ::Ice::Exception* ice_clone() const;
    virtual void ice_throw() const;

    static const ::IceInternal::UserExceptionFactoryPtr& ice_factory();

    ::std::string what;

    virtual void __write(::IceInternal::BasicStream*) const;
    virtual void __read(::IceInternal::BasicStream*, bool);
    virtual void __write(const ::Ice::OutputStreamPtr&) const;
    virtual void __read(const ::Ice::InputStreamPtr&, bool);
};

static HardwareFailedException __HardwareFailedException_init;

class OutOfRangeException : public ::Ice::UserException
{
public:

    OutOfRangeException() {}
    explicit OutOfRangeException(const ::std::string&);
    virtual ~OutOfRangeException() throw();

    virtual ::std::string ice_name() const;
    virtual ::Ice::Exception* ice_clone() const;
    virtual void ice_throw() const;

    static const ::IceInternal::UserExceptionFactoryPtr& ice_factory();

    ::std::string what;

    virtual void __write(::IceInternal::BasicStream*) const;
    virtual void __read(::IceInternal::BasicStream*, bool);
    virtual void __write(const ::Ice::OutputStreamPtr&) const;
    virtual void __read(const ::Ice::InputStreamPtr&, bool);
};

struct TMotorRanges
{
    ::Ice::Float min;
    ::Ice::Float max;
    ::Ice::Byte number;

    bool operator==(const TMotorRanges&) const;
    bool operator<(const TMotorRanges&) const;
    bool operator!=(const TMotorRanges& __rhs) const
    {
        return !operator==(__rhs);
    }
    bool operator<=(const TMotorRanges& __rhs) const
    {
        return operator<(__rhs) || operator==(__rhs);
    }
    bool operator>(const TMotorRanges& __rhs) const
    {
        return !operator<(__rhs) && !operator==(__rhs);
    }
    bool operator>=(const TMotorRanges& __rhs) const
    {
        return !operator<(__rhs);
    }

    void __write(::IceInternal::BasicStream*) const;
    void __read(::IceInternal::BasicStream*);
};

struct TMotorState
{
    ::Ice::Float pos;
    ::Ice::Float vel;
    ::Ice::Float power;
    ::Ice::Int p;
    ::Ice::Int v;
    bool isMoving;

    bool operator==(const TMotorState&) const;
    bool operator<(const TMotorState&) const;
    bool operator!=(const TMotorState& __rhs) const
    {
        return !operator==(__rhs);
    }
    bool operator<=(const TMotorState& __rhs) const
    {
        return operator<(__rhs) || operator==(__rhs);
    }
    bool operator>(const TMotorState& __rhs) const
    {
        return !operator<(__rhs) && !operator==(__rhs);
    }
    bool operator>=(const TMotorState& __rhs) const
    {
        return !operator<(__rhs);
    }

    void __write(::IceInternal::BasicStream*) const;
    void __read(::IceInternal::BasicStream*);
};

struct THeadRanges
{
    ::RoboCompCamMotion::TMotorRanges left;
    ::RoboCompCamMotion::TMotorRanges right;
    ::RoboCompCamMotion::TMotorRanges tilt;
    ::RoboCompCamMotion::TMotorRanges neck;
    ::RoboCompCamMotion::TMotorRanges leftTilt;
    ::RoboCompCamMotion::TMotorRanges rightTilt;
    ::Ice::Int baseline;

    bool operator==(const THeadRanges&) const;
    bool operator<(const THeadRanges&) const;
    bool operator!=(const THeadRanges& __rhs) const
    {
        return !operator==(__rhs);
    }
    bool operator<=(const THeadRanges& __rhs) const
    {
        return operator<(__rhs) || operator==(__rhs);
    }
    bool operator>(const THeadRanges& __rhs) const
    {
        return !operator<(__rhs) && !operator==(__rhs);
    }
    bool operator>=(const THeadRanges& __rhs) const
    {
        return !operator<(__rhs);
    }

    void __write(::IceInternal::BasicStream*) const;
    void __read(::IceInternal::BasicStream*);
};

struct THeadState
{
    ::RoboCompCamMotion::TMotorState left;
    ::RoboCompCamMotion::TMotorState right;
    ::RoboCompCamMotion::TMotorState tilt;
    ::RoboCompCamMotion::TMotorState neck;
    ::RoboCompCamMotion::TMotorState leftTilt;
    ::RoboCompCamMotion::TMotorState rightTilt;
    bool isMoving;

    bool operator==(const THeadState&) const;
    bool operator<(const THeadState&) const;
    bool operator!=(const THeadState& __rhs) const
    {
        return !operator==(__rhs);
    }
    bool operator<=(const THeadState& __rhs) const
    {
        return operator<(__rhs) || operator==(__rhs);
    }
    bool operator>(const THeadState& __rhs) const
    {
        return !operator<(__rhs) && !operator==(__rhs);
    }
    bool operator>=(const THeadState& __rhs) const
    {
        return !operator<(__rhs);
    }

    void __write(::IceInternal::BasicStream*) const;
    void __read(::IceInternal::BasicStream*);
};

struct TParams
{
    ::Ice::Int TILTMOTOR;
    ::Ice::Int LEFTTILTMOTOR;
    ::Ice::Int RIGHTTILTMOTOR;
    ::Ice::Int LEFTMOTOR;
    ::Ice::Int RIGHTMOTOR;
    ::Ice::Int NECKMOTOR;
    ::Ice::Int LEFTCAMERA;
    ::Ice::Int RIGHTCAMERA;
    ::Ice::Int BOTHCAMERAS;
    ::Ice::Int RIGHTZEROPOS;
    ::Ice::Int LEFTZEROPOS;
    ::Ice::Int TILTZEROPOS;
    ::Ice::Int NECKZEROPOS;
    ::std::string device;
    ::std::string handler;
    ::Ice::Int baseline;
    bool tiltInvert;
    bool leftInvert;
    bool rightInvert;
    bool neckInvert;

    bool operator==(const TParams&) const;
    bool operator<(const TParams&) const;
    bool operator!=(const TParams& __rhs) const
    {
        return !operator==(__rhs);
    }
    bool operator<=(const TParams& __rhs) const
    {
        return operator<(__rhs) || operator==(__rhs);
    }
    bool operator>(const TParams& __rhs) const
    {
        return !operator<(__rhs) && !operator==(__rhs);
    }
    bool operator>=(const TParams& __rhs) const
    {
        return !operator<(__rhs);
    }

    void __write(::IceInternal::BasicStream*) const;
    void __read(::IceInternal::BasicStream*);
};

}

namespace IceProxy
{

namespace RoboCompCamMotion
{

class CamMotion : virtual public ::IceProxy::Ice::Object
{
public:

    void resetHead()
    {
        resetHead(0);
    }
    void resetHead(const ::Ice::Context& __ctx)
    {
        resetHead(&__ctx);
    }
    
private:

    void resetHead(const ::Ice::Context*);
    
public:

    void stopHead()
    {
        stopHead(0);
    }
    void stopHead(const ::Ice::Context& __ctx)
    {
        stopHead(&__ctx);
    }
    
private:

    void stopHead(const ::Ice::Context*);
    
public:

    void setPanLeft(::Ice::Float pan)
    {
        setPanLeft(pan, 0);
    }
    void setPanLeft(::Ice::Float pan, const ::Ice::Context& __ctx)
    {
        setPanLeft(pan, &__ctx);
    }
    
private:

    void setPanLeft(::Ice::Float, const ::Ice::Context*);
    
public:

    void setPanRight(::Ice::Float pan)
    {
        setPanRight(pan, 0);
    }
    void setPanRight(::Ice::Float pan, const ::Ice::Context& __ctx)
    {
        setPanRight(pan, &__ctx);
    }
    
private:

    void setPanRight(::Ice::Float, const ::Ice::Context*);
    
public:

    void setTiltLeft(::Ice::Float tilt)
    {
        setTiltLeft(tilt, 0);
    }
    void setTiltLeft(::Ice::Float tilt, const ::Ice::Context& __ctx)
    {
        setTiltLeft(tilt, &__ctx);
    }
    
private:

    void setTiltLeft(::Ice::Float, const ::Ice::Context*);
    
public:

    void setTiltRight(::Ice::Float tilt)
    {
        setTiltRight(tilt, 0);
    }
    void setTiltRight(::Ice::Float tilt, const ::Ice::Context& __ctx)
    {
        setTiltRight(tilt, &__ctx);
    }
    
private:

    void setTiltRight(::Ice::Float, const ::Ice::Context*);
    
public:

    void setTiltBoth(::Ice::Float tilt)
    {
        setTiltBoth(tilt, 0);
    }
    void setTiltBoth(::Ice::Float tilt, const ::Ice::Context& __ctx)
    {
        setTiltBoth(tilt, &__ctx);
    }
    
private:

    void setTiltBoth(::Ice::Float, const ::Ice::Context*);
    
public:

    void setNeck(::Ice::Float neck)
    {
        setNeck(neck, 0);
    }
    void setNeck(::Ice::Float neck, const ::Ice::Context& __ctx)
    {
        setNeck(neck, &__ctx);
    }
    
private:

    void setNeck(::Ice::Float, const ::Ice::Context*);
    
public:

    void saccadic2D(::Ice::Float panI, ::Ice::Float tilt)
    {
        saccadic2D(panI, tilt, 0);
    }
    void saccadic2D(::Ice::Float panI, ::Ice::Float tilt, const ::Ice::Context& __ctx)
    {
        saccadic2D(panI, tilt, &__ctx);
    }
    
private:

    void saccadic2D(::Ice::Float, ::Ice::Float, const ::Ice::Context*);
    
public:

    void saccadic3D(::Ice::Float panI, ::Ice::Float panD, ::Ice::Float tilt)
    {
        saccadic3D(panI, panD, tilt, 0);
    }
    void saccadic3D(::Ice::Float panI, ::Ice::Float panD, ::Ice::Float tilt, const ::Ice::Context& __ctx)
    {
        saccadic3D(panI, panD, tilt, &__ctx);
    }
    
private:

    void saccadic3D(::Ice::Float, ::Ice::Float, ::Ice::Float, const ::Ice::Context*);
    
public:

    void getMotorRanges(::Ice::Byte motor, ::RoboCompCamMotion::TMotorRanges& info)
    {
        getMotorRanges(motor, info, 0);
    }
    void getMotorRanges(::Ice::Byte motor, ::RoboCompCamMotion::TMotorRanges& info, const ::Ice::Context& __ctx)
    {
        getMotorRanges(motor, info, &__ctx);
    }
    
private:

    void getMotorRanges(::Ice::Byte, ::RoboCompCamMotion::TMotorRanges&, const ::Ice::Context*);
    
public:

    void getMotorState(::Ice::Byte motor, ::RoboCompCamMotion::TMotorState& state)
    {
        getMotorState(motor, state, 0);
    }
    void getMotorState(::Ice::Byte motor, ::RoboCompCamMotion::TMotorState& state, const ::Ice::Context& __ctx)
    {
        getMotorState(motor, state, &__ctx);
    }
    
private:

    void getMotorState(::Ice::Byte, ::RoboCompCamMotion::TMotorState&, const ::Ice::Context*);
    
public:

    void getHeadState(::RoboCompCamMotion::THeadState& state)
    {
        getHeadState(state, 0);
    }
    void getHeadState(::RoboCompCamMotion::THeadState& state, const ::Ice::Context& __ctx)
    {
        getHeadState(state, &__ctx);
    }
    
private:

    void getHeadState(::RoboCompCamMotion::THeadState&, const ::Ice::Context*);
    
public:

    void getHeadRanges(::RoboCompCamMotion::THeadRanges& ranges)
    {
        getHeadRanges(ranges, 0);
    }
    void getHeadRanges(::RoboCompCamMotion::THeadRanges& ranges, const ::Ice::Context& __ctx)
    {
        getHeadRanges(ranges, &__ctx);
    }
    
private:

    void getHeadRanges(::RoboCompCamMotion::THeadRanges&, const ::Ice::Context*);
    
public:

    void setRadSaccadic(::Ice::Float pan, ::Ice::Float tilt, ::Ice::Int cam)
    {
        setRadSaccadic(pan, tilt, cam, 0);
    }
    void setRadSaccadic(::Ice::Float pan, ::Ice::Float tilt, ::Ice::Int cam, const ::Ice::Context& __ctx)
    {
        setRadSaccadic(pan, tilt, cam, &__ctx);
    }
    
private:

    void setRadSaccadic(::Ice::Float, ::Ice::Float, ::Ice::Int, const ::Ice::Context*);
    
public:

    bool isMovingMotor(::Ice::Byte motor)
    {
        return isMovingMotor(motor, 0);
    }
    bool isMovingMotor(::Ice::Byte motor, const ::Ice::Context& __ctx)
    {
        return isMovingMotor(motor, &__ctx);
    }
    
private:

    bool isMovingMotor(::Ice::Byte, const ::Ice::Context*);
    
public:

    bool isMovingHead()
    {
        return isMovingHead(0);
    }
    bool isMovingHead(const ::Ice::Context& __ctx)
    {
        return isMovingHead(&__ctx);
    }
    
private:

    bool isMovingHead(const ::Ice::Context*);
    
public:
    
    ::IceInternal::ProxyHandle<CamMotion> ice_context(const ::Ice::Context& __context) const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_context(__context).get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_context(__context).get());
    #endif
    }
    
    ::IceInternal::ProxyHandle<CamMotion> ice_adapterId(const std::string& __id) const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_adapterId(__id).get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_adapterId(__id).get());
    #endif
    }
    
    ::IceInternal::ProxyHandle<CamMotion> ice_endpoints(const ::Ice::EndpointSeq& __endpoints) const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_endpoints(__endpoints).get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_endpoints(__endpoints).get());
    #endif
    }
    
    ::IceInternal::ProxyHandle<CamMotion> ice_locatorCacheTimeout(int __timeout) const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_locatorCacheTimeout(__timeout).get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_locatorCacheTimeout(__timeout).get());
    #endif
    }
    
    ::IceInternal::ProxyHandle<CamMotion> ice_connectionCached(bool __cached) const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_connectionCached(__cached).get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_connectionCached(__cached).get());
    #endif
    }
    
    ::IceInternal::ProxyHandle<CamMotion> ice_endpointSelection(::Ice::EndpointSelectionType __est) const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_endpointSelection(__est).get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_endpointSelection(__est).get());
    #endif
    }
    
    ::IceInternal::ProxyHandle<CamMotion> ice_secure(bool __secure) const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_secure(__secure).get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_secure(__secure).get());
    #endif
    }
    
    ::IceInternal::ProxyHandle<CamMotion> ice_preferSecure(bool __preferSecure) const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_preferSecure(__preferSecure).get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_preferSecure(__preferSecure).get());
    #endif
    }
    
    ::IceInternal::ProxyHandle<CamMotion> ice_router(const ::Ice::RouterPrx& __router) const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_router(__router).get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_router(__router).get());
    #endif
    }
    
    ::IceInternal::ProxyHandle<CamMotion> ice_locator(const ::Ice::LocatorPrx& __locator) const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_locator(__locator).get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_locator(__locator).get());
    #endif
    }
    
    ::IceInternal::ProxyHandle<CamMotion> ice_collocationOptimized(bool __co) const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_collocationOptimized(__co).get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_collocationOptimized(__co).get());
    #endif
    }
    
    ::IceInternal::ProxyHandle<CamMotion> ice_twoway() const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_twoway().get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_twoway().get());
    #endif
    }
    
    ::IceInternal::ProxyHandle<CamMotion> ice_oneway() const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_oneway().get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_oneway().get());
    #endif
    }
    
    ::IceInternal::ProxyHandle<CamMotion> ice_batchOneway() const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_batchOneway().get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_batchOneway().get());
    #endif
    }
    
    ::IceInternal::ProxyHandle<CamMotion> ice_datagram() const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_datagram().get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_datagram().get());
    #endif
    }
    
    ::IceInternal::ProxyHandle<CamMotion> ice_batchDatagram() const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_batchDatagram().get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_batchDatagram().get());
    #endif
    }
    
    ::IceInternal::ProxyHandle<CamMotion> ice_compress(bool __compress) const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_compress(__compress).get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_compress(__compress).get());
    #endif
    }
    
    ::IceInternal::ProxyHandle<CamMotion> ice_timeout(int __timeout) const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_timeout(__timeout).get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_timeout(__timeout).get());
    #endif
    }
    
    ::IceInternal::ProxyHandle<CamMotion> ice_connectionId(const std::string& __id) const
    {
    #if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
        typedef ::IceProxy::Ice::Object _Base;
        return dynamic_cast<CamMotion*>(_Base::ice_connectionId(__id).get());
    #else
        return dynamic_cast<CamMotion*>(::IceProxy::Ice::Object::ice_connectionId(__id).get());
    #endif
    }
    
    static const ::std::string& ice_staticId();

private: 

    virtual ::IceInternal::Handle< ::IceDelegateM::Ice::Object> __createDelegateM();
    virtual ::IceInternal::Handle< ::IceDelegateD::Ice::Object> __createDelegateD();
    virtual ::IceProxy::Ice::Object* __newInstance() const;
};

}

}

namespace IceDelegate
{

namespace RoboCompCamMotion
{

class CamMotion : virtual public ::IceDelegate::Ice::Object
{
public:

    virtual void resetHead(const ::Ice::Context*) = 0;

    virtual void stopHead(const ::Ice::Context*) = 0;

    virtual void setPanLeft(::Ice::Float, const ::Ice::Context*) = 0;

    virtual void setPanRight(::Ice::Float, const ::Ice::Context*) = 0;

    virtual void setTiltLeft(::Ice::Float, const ::Ice::Context*) = 0;

    virtual void setTiltRight(::Ice::Float, const ::Ice::Context*) = 0;

    virtual void setTiltBoth(::Ice::Float, const ::Ice::Context*) = 0;

    virtual void setNeck(::Ice::Float, const ::Ice::Context*) = 0;

    virtual void saccadic2D(::Ice::Float, ::Ice::Float, const ::Ice::Context*) = 0;

    virtual void saccadic3D(::Ice::Float, ::Ice::Float, ::Ice::Float, const ::Ice::Context*) = 0;

    virtual void getMotorRanges(::Ice::Byte, ::RoboCompCamMotion::TMotorRanges&, const ::Ice::Context*) = 0;

    virtual void getMotorState(::Ice::Byte, ::RoboCompCamMotion::TMotorState&, const ::Ice::Context*) = 0;

    virtual void getHeadState(::RoboCompCamMotion::THeadState&, const ::Ice::Context*) = 0;

    virtual void getHeadRanges(::RoboCompCamMotion::THeadRanges&, const ::Ice::Context*) = 0;

    virtual void setRadSaccadic(::Ice::Float, ::Ice::Float, ::Ice::Int, const ::Ice::Context*) = 0;

    virtual bool isMovingMotor(::Ice::Byte, const ::Ice::Context*) = 0;

    virtual bool isMovingHead(const ::Ice::Context*) = 0;
};

}

}

namespace IceDelegateM
{

namespace RoboCompCamMotion
{

class CamMotion : virtual public ::IceDelegate::RoboCompCamMotion::CamMotion,
                  virtual public ::IceDelegateM::Ice::Object
{
public:

    virtual void resetHead(const ::Ice::Context*);

    virtual void stopHead(const ::Ice::Context*);

    virtual void setPanLeft(::Ice::Float, const ::Ice::Context*);

    virtual void setPanRight(::Ice::Float, const ::Ice::Context*);

    virtual void setTiltLeft(::Ice::Float, const ::Ice::Context*);

    virtual void setTiltRight(::Ice::Float, const ::Ice::Context*);

    virtual void setTiltBoth(::Ice::Float, const ::Ice::Context*);

    virtual void setNeck(::Ice::Float, const ::Ice::Context*);

    virtual void saccadic2D(::Ice::Float, ::Ice::Float, const ::Ice::Context*);

    virtual void saccadic3D(::Ice::Float, ::Ice::Float, ::Ice::Float, const ::Ice::Context*);

    virtual void getMotorRanges(::Ice::Byte, ::RoboCompCamMotion::TMotorRanges&, const ::Ice::Context*);

    virtual void getMotorState(::Ice::Byte, ::RoboCompCamMotion::TMotorState&, const ::Ice::Context*);

    virtual void getHeadState(::RoboCompCamMotion::THeadState&, const ::Ice::Context*);

    virtual void getHeadRanges(::RoboCompCamMotion::THeadRanges&, const ::Ice::Context*);

    virtual void setRadSaccadic(::Ice::Float, ::Ice::Float, ::Ice::Int, const ::Ice::Context*);

    virtual bool isMovingMotor(::Ice::Byte, const ::Ice::Context*);

    virtual bool isMovingHead(const ::Ice::Context*);
};

}

}

namespace IceDelegateD
{

namespace RoboCompCamMotion
{

class CamMotion : virtual public ::IceDelegate::RoboCompCamMotion::CamMotion,
                  virtual public ::IceDelegateD::Ice::Object
{
public:

    virtual void resetHead(const ::Ice::Context*);

    virtual void stopHead(const ::Ice::Context*);

    virtual void setPanLeft(::Ice::Float, const ::Ice::Context*);

    virtual void setPanRight(::Ice::Float, const ::Ice::Context*);

    virtual void setTiltLeft(::Ice::Float, const ::Ice::Context*);

    virtual void setTiltRight(::Ice::Float, const ::Ice::Context*);

    virtual void setTiltBoth(::Ice::Float, const ::Ice::Context*);

    virtual void setNeck(::Ice::Float, const ::Ice::Context*);

    virtual void saccadic2D(::Ice::Float, ::Ice::Float, const ::Ice::Context*);

    virtual void saccadic3D(::Ice::Float, ::Ice::Float, ::Ice::Float, const ::Ice::Context*);

    virtual void getMotorRanges(::Ice::Byte, ::RoboCompCamMotion::TMotorRanges&, const ::Ice::Context*);

    virtual void getMotorState(::Ice::Byte, ::RoboCompCamMotion::TMotorState&, const ::Ice::Context*);

    virtual void getHeadState(::RoboCompCamMotion::THeadState&, const ::Ice::Context*);

    virtual void getHeadRanges(::RoboCompCamMotion::THeadRanges&, const ::Ice::Context*);

    virtual void setRadSaccadic(::Ice::Float, ::Ice::Float, ::Ice::Int, const ::Ice::Context*);

    virtual bool isMovingMotor(::Ice::Byte, const ::Ice::Context*);

    virtual bool isMovingHead(const ::Ice::Context*);
};

}

}

namespace RoboCompCamMotion
{

class CamMotion : virtual public ::Ice::Object
{
public:

    typedef CamMotionPrx ProxyType;
    typedef CamMotionPtr PointerType;
    
    virtual ::Ice::ObjectPtr ice_clone() const;

    virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const;
    virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const;
    virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const;
    static const ::std::string& ice_staticId();

    virtual void resetHead(const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___resetHead(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual void stopHead(const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___stopHead(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual void setPanLeft(::Ice::Float, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___setPanLeft(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual void setPanRight(::Ice::Float, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___setPanRight(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual void setTiltLeft(::Ice::Float, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___setTiltLeft(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual void setTiltRight(::Ice::Float, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___setTiltRight(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual void setTiltBoth(::Ice::Float, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___setTiltBoth(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual void setNeck(::Ice::Float, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___setNeck(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual void saccadic2D(::Ice::Float, ::Ice::Float, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___saccadic2D(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual void saccadic3D(::Ice::Float, ::Ice::Float, ::Ice::Float, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___saccadic3D(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual void getMotorRanges(::Ice::Byte, ::RoboCompCamMotion::TMotorRanges&, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___getMotorRanges(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual void getMotorState(::Ice::Byte, ::RoboCompCamMotion::TMotorState&, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___getMotorState(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual void getHeadState(::RoboCompCamMotion::THeadState&, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___getHeadState(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual void getHeadRanges(::RoboCompCamMotion::THeadRanges&, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___getHeadRanges(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual void setRadSaccadic(::Ice::Float, ::Ice::Float, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___setRadSaccadic(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual bool isMovingMotor(::Ice::Byte, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___isMovingMotor(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual bool isMovingHead(const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___isMovingHead(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual ::Ice::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual void __write(::IceInternal::BasicStream*) const;
    virtual void __read(::IceInternal::BasicStream*, bool);
    virtual void __write(const ::Ice::OutputStreamPtr&) const;
    virtual void __read(const ::Ice::InputStreamPtr&, bool);
};

}

#endif
